package com.way.demo.bo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author lipingwei
 * @create 2021-07-07 20:02
 */
@Data
public class Student {
    @NotBlank(message = "学生姓名不能为空")
    private String stuName;

    @NotNull(message = "学号不能为空")
    private Integer id;

}
